package com.bdqn.vueboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.vueboot.entity.Mail;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 *
 */
public interface MailService extends IService<Mail> {
    /**
     * 用过邮寄类型以及时间查询邮寄全部信息
     *
     * @param staticType
     * @param mailStaticDate
     * @param indexPage
     * @param limit
     * @return
     */
    IPage<Mail> allmodifyListBiz(Integer staticType, String mailStaticDate, String mailStatic, Integer indexPage, Integer limit);

    /**
     * 插入邮件信息
     *
     * @param mail
     * @return
     */
    int seva(Mail mail);

    int delIsDeleByMailId(Long mailId, Long isDel);

    int sevaAudit(String mailStatic, Long mailId);

}
